/*
 * MemberBO.java
 *
 * Created on February 13, 2007
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package finalintex2web;
import java.util.*;

/**
 * Business object for members
 * @author craig marshall
 */
public class MemberBO {
    
    private String id, creditcard = null, startdate = null, enddate = null;
    private List<AreaOfInterestBO> areaofinterest = null;
    private boolean indb , dirty;
   
    
    
    
    /** Creates a new instance of MemberBO */
    MemberBO(String id) {
        this.setId(id);
        
    }
    
    /**
     * 
     * @return 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
        this.dirty = true;
    }

    /**
     * 
     * @return 
     */
    public String getCreditcard() {
        return creditcard;
    }

    /**
     * 
     * @param creditcard 
     */
    public void setCreditcard(String creditcard) {
        this.creditcard = creditcard;
        this.dirty = true;
    }

    /**
     * 
     * @return 
     */
    public String getStartdate() {
        return startdate;
    }

    /**
     * 
     * @param startdate 
     */
    public void setStartdate(String startdate) {
        this.startdate = startdate;
        this.dirty = true;
    }

    /**
     * 
     * @return 
     */
    public String getEnddate() {
        return enddate;
    }

    /**
     * 
     * @param enddate 
     */
    public void setEnddate(String enddate) {
        this.enddate = enddate;
        this.dirty = true;
    }

    /**
     * 
     * @return 
     */
    public boolean isIndb() {
        return indb;
    }

    /**
     * 
     * @param indb 
     */
    public void setIndb(boolean indb) {
        this.indb = indb;
        this.dirty = true;
    }

    /**
     * 
     * @return 
     */
    public boolean isDirty() {
        return dirty;
    }

    /**
     * 
     * @param dirty 
     */
    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }

    /**
     * 
     * @return 
     */
    public List<AreaOfInterestBO> getAreaofinterest() {
        return areaofinterest;
    }

    /**
     * 
     * @param areaofinterest 
     */
    public void setAreaofinterest(List<AreaOfInterestBO> areaofinterest) {
        this.areaofinterest = areaofinterest;
        this.dirty = true;
    }

}